--Rider调试Lua
--[[package.cpath = package.cpath .. ';C:/Users/veewo2600/AppData/Roaming/JetBrains/Rider2021.1/plugins/EmmyLua/classes/debugger/emmy/windows/x64/?.dll'
local dbg = require('emmy_core')
dbg.tcpConnect('localhost', 9966)]]

--VSCode调试Lua 先开Unity在调试VSCode
--[[package.cpath = package.cpath .. ";c:/Users/veewo2600/.vscode/extensions/tangzx.emmylua-0.3.49/debugger/emmy/windows/x64/?.dll"
local dbg = require("emmy_core")
dbg.tcpListen('localhost', 9966)]]

--Rider调试Lua2 自己的电脑
package.cpath = package.cpath .. ';C:/Users/24637/AppData/Roaming/JetBrains/Rider2021.1/plugins/EmmyLua/debugger/emmy/windows/x64/?.dll'
local dbg = require('emmy_core')
dbg.tcpConnect('localhost', 9966)
dbg.breakHere()

print("主Lua文件启动")
function IsNull(obj)
    if obj==nil or obj:Equals(nil) then
        return true
    end
    return false
end

--require("Hotfix_Lesson1")
--require("Hotfix_Lesson2")
--require("Hotfix_Lesson3")
--require("Hotfix_Lesson4")
--require("Hotfix_Lesson5")
--require("Hotfix_Lesson6")

--[[
--XLuaBag:

--初始化公共
require("InitClass")

--初始化道具信息
require("ItemData")
--初始化角色物品信息
require("PlayerData")
PlayerData:Init()

require("BasePanel")
require("MainPanel")
require("BagPanel")
require("ItemGrid")
require("EmailPanel")
MainPanel:Show()
]]

--LuaCallCSharp:
--require("test")
--require("Lesson1_CallClass")
--require("Lesson2_CallEnum")
--require("Lesson3_CallListDic")
--require("Lesson4_CallFunc")
--require("Lesson5_CallFunc")
--require("Lesson6_CallFunc")
--require("Lesson7_CallDel")
--require("Lesson8_CallArray")
---require("Lesson9_Special")
--require("Lesson10_Slider")
--require("Lesson11_Coroutine")

